import request from "@/utils/request";

//获取所有区域
export const getAllArea = param => request.get('/area/getAllAreas', param)
//登记人员签出
export const registerOut = (name, num) => request.put('/area/ReduceAreaCurrentPerson/' + name + '/' + num)
//添加新区域
export const SaveNewArea = param => request.post('/area/saveNewArea', param)
//移除区域
export const removeArea = id => request.delete('/area/removeAreaById/' + id)
//修改区域信息
export const updateAreaInfo = area => request.put('/area/updateAreaInfo', area)